package day06homework1;

public class ExtendTest2 {
    public static void main(String[] args) {
        Student ww = new Student();
        ww.name = "王伟";
        ww.address = "陕西";
        ww.age = 24;
        ww.eat();
        ww.sleep();
        ww.sayHi();
        ww.study();

        Doctor1 zz = new Doctor1("张三","山西",15,"脑科主任");
        zz.eat();
        zz.sleep();
        zz.sayHi();
        zz.cut();





    }
}
